Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: provide serialization of Option::None as CBOR undefined #67

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

qrayven
Copy link

@qrayven qrayven commented Dec 30, 2022

CBOR spec distinguish between undefined and null types. By default, Option::None is serialized as null and there is no way to force the serializer to use the undefined header. The PR introduces the SerializerOptions structure which allows changing the behavior of the serializer.

@qrayven qrayven requested a review from a team as a code owner December 30, 2022 07:30
@qrayven qrayven requested a review from dpal December 30, 2022 07:30
@dpal dpal requested review from bstrie and removed request for dpal January 27, 2023 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: For Review
Development

Successfully merging this pull request may close these issues.

1 participant